﻿@using AmorCanino.Web.Models.Models
@model UserRegistrationModel
@{
    ViewBag.Title = "Registrarme";
}
@section JavaScript {
    <script src="@Url.Content("~/Scripts/Register.js")" type="text/javascript"></script>
}
<div class="registerContainer">
    <h2>Registrarme</h2>
    <div>
    @using (Html.BeginForm())
    {
        <div>Nombre y apellido *</div>
        <div>@Html.ValidationMessageFor(c => c.Name)</div>
        <div>@Html.TextBoxFor(c => c.Name)</div>
        <div>Correo electrónico *</div>
        <div>@Html.ValidationMessageFor(c => c.Email)</div>
        <div>@Html.TextBoxFor(c => c.Email)</div>
        <div>Contraseña *</div>
        <div>@Html.ValidationMessageFor(c => c.Password)</div>
        <div style="display: inline-block;">
             <div style="float: left;">@Html.PasswordFor(c => c.Password)</div>
             <div title="La contraseña es insegura" class="strongPasswordColor" 
                  style="float:left; margin-top:2px;
                  width: 20px; height: 20px;
                  background-color:Red;">&nbsp;</div>
        </div>
        <div>Repita la contraseña *</div>
        <div>@ViewBag.PasswordError</div>
        <div><input type="password" name="repeatedPassword" id="repeatedPassword" value="" /></div>
        <input type="button" value="Registrarme" id="enviarForm" />
    }
    </div>
</div>
